Disaster recovery
Shareable node debugging data (shareLogs.sh)​
The rizenet-node repository contains a script (shareLogs.sh
) that collects data that can be used for investigating issues with a node and makes it easily shareable with others through an encrypted file that is uploaded to the cloud.
Users are invited to read the script directly to see what it does and what is the data that it collects.
To execute:
- Go to the folder where you have the rizenet-node tools installed:
cd rizenet-node
- Then make sure you have the latest version of the script:
git reset --hard && git pull
- Finally, simply execute the script to get node data for debugging:
./shareLogs.sh
It takes a few minutes to execute, and then it will print something like what is shown below, which is the output that can be shared with others to assist you on problem solving:
Done!
curl -o /tmp/encrypted_rizenet_node--2025-04-26-16-07.log https://files.catbox.moe/2h2mxa && gpg --decrypt --batch --pinentry-mode loopback --passphrase NBmPtd0oiErQfxeoy++cSQ== -o /tmp/decrypted_rizenet_node--2025-04-26-16-07.log /tmp/encrypted_rizenet_node--2025-04-26-16-07.log
Please share the command above with Rizenet Admin contact, so they can make sure everything went well with the execution of this operation!